//
//  DFProductsDownLoadView.m
//  DFront
//
//  Created by lanou on 15/10/31.
//  Copyright © 2015年 xuzenghui. All rights reserved.
//

#import "DFProductsDownLoadView.h"

@implementation DFProductsDownLoadView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        _indexLab = [[UILabel alloc]initWithFrame:CGRectMake(kScreenWidth / 2 - 40 , 5, 80, 40)];
        _indexLab.textAlignment = NSTextAlignmentCenter;
        _indexLab.textColor = [UIColor whiteColor];
        
        _downloadBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        [_downloadBtn setImage:[UIImage imageNamed:@""] forState:UIControlStateNormal];
        _downloadBtn.frame = CGRectMake(kScreenWidth - 80, 15, 25, 25);
        
        [self addSubview:_indexLab];
        [self addSubview:_downloadBtn];
    }
    return self;
}

@end
